<?php
ob_start();?><?php
include("config.php");
require_once("auth.php");
$cname=$_POST['txtCompanyName'];
$phone=$_POST['txtPhone'];
$data=mysql_query("insert into shippers values('','$cname','$phone')");
if($data)
{
header("location: displayshippers.php?added=added");
}
else
{
echo mysql_error();
}?>
<?php ob_flush();
?>